<template>
  <Header/>
  <div class="share">
    <router-view v-on:changetitle="titelFromChild" />
  </div>
  <Footer/>
</template>

<script>
import Header from "../Header";
import Footer from "../Footer";
export default {
  name: "Share",
  data() {
    return {
    };
  },
  methods:{
    titelFromChild:function(title){
      console.log("当前的标题是"+title)
    }
  },
  mounted(){
  },
  components: {
    Header,
    Footer,
  },
};
</script>

<style scoped>
.share {
  margin-top: 50px;
  width: 100%;
  height: 85vh;
}
</style>
